<?php 

/**
* 用户控制器
*/
class UserController extends Controller
{
    public function index()
    {
        $model = new Model('user');
        $this->assign('list',$model->select());
        $this->display('User/index.html');
    }
    public function add()
    {
        echo '添加用户';
    }
    
}



